package org.hyson.gofun;
import org.hyson.gofun.Player.human_action;

import android.graphics.Point;

public class HumanPlayer extends Player{
    public HumanPlayer(Pieces who, int free_pieces, boolean is_human, Board board, Game game){
    	super(who, free_pieces, is_human, board, game);
	name = "Huqingzhou";
    }
	public  boolean thinkOver(){
		if(game.getStatus() == GameStatus.GAME_SET_LAST)
			return true;
		if(game.getStatus() == GameStatus.GAME_MOVE && board.noMoves(who) ){
			return true;
		}
		if(action != human_action.GO){
			return false;
		}
		action = human_action.WAIT;
		return true;
	}
  
}


